<form class="form-horizontal bv-form" role="form" id="listForm">
    <style>
        .form-group{
            /*border:1px solid red;*/
        }

    </style>
    {if $data.job_type==2}
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                企业信息：
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_com_name}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业地点：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.com_sheng}{$data.com_shi}{$data.com_qu}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">详细地址：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_com_address}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业描述：</label>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-12">
            <label class="col-sm-1 control-label"></label>
            <div class="col-sm-11">
                <textarea class="form-control" rows="5">{$data.job_com_jianjie}</textarea>
            </div>
        </div>
    </div>
    {/if}
    <!---->
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" id="headingTwo">
            <h4 class="panel-title">
                职位信息
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">职位名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_name}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">性别：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_sex}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作地点：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.sheng}{$data.shi}{$data.qu}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作详细地址：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_address}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">周期：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_com_find_zhouqi == 1 ? '长期' : '短期'}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">薪资要求：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_zhouqi_year}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">学历：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_school}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作年限：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_year}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">年龄区间：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_age_min}—{$data.job_age_max}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">招聘人数：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_peple}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作描述：</label>
        </div>

    </div>

    <div class="row">
        <div class="form-group col-sm-12">
            <label class="col-sm-1 control-label"></label>
            <div class="col-sm-11">
                <textarea class="form-control" rows="5">{$data.job_content}</textarea>
            </div>
        </div>
    </div>


    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                发布者信息：
                {if $data.job_type==1}（个人招人）{/if}
                {if $data.job_type==2}（企业招人）{/if}
                {if $data.job_type==3}（找活干）{/if}
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.user_username}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人电话：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_phone}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人微信：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_weixin}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人qq：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_qq}">
            </div>
        </div>
    </div>
    {if $data.job_type==1}
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">做什么事：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_whatfor}">
            </div>
        </div>
    </div>
    {/if}
    {if $data.job_type==2}
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">直招/中介：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{if $data.job_zhi==1}直招{else}中介{/if}">
            </div>
        </div>
    </div>
    {/if}
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                其他信息：
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布时间：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{$data.job_createtime}">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">是否已经禁用：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="{if $data.job_status==1}正常启用{else}禁用隐藏{/if}">
            </div>
        </div>
    </div>
    <!--新加的图片-->
    <div class="row">
    <div class="form-group col-sm-6">
        <label class="col-sm-5 control-label">图片：</label>
        <div class="col-sm-7">
            {if !$data['job_beautiful']}暂无图片{/if}
        </div>
    </div>
    </div>
    {if $data['job_beautiful']}
    <div style="width: 100%;">
        {volist name="img" id='im'}
        <img src="{$im}" alt="" style="width: 30%;height: auto;margin-left: 2%;margin-bottom: 10px;"/>
        {/volist}
    </div>
    {/if}
    {if $data['job_url']}
    <div class="form-group">
        <label class="col-sm-2 control-label">视频</label>
        <div class="col-sm-6">
            <video src="{$data['job_url']}" controls="controls" width="100%"></video>
        </div>
    </div>
    {/if}
</form>
<script>
    $('#listForm input,#listForm textarea').attr('disabled','true');
</script>



